/*
 * v1.1 by jetsum tonydon
 * netbeansIDE 7.1
 */
package cn.txdnet.txweb.utils;

import java.io.Serializable;

/**
 *
 * @author txdnet
 */
public class ActionUrlBean implements Serializable {
    
    private static final long serialVersionUID = -20432334234234L;
    
    private String path;
    private String classname;

    /**
     * @return the path
     */
    public String getPath() {
        return path;
    }

    /**
     * @param path the path to set
     */
    public void setPath(String path) {
        this.path = path;
    }

    /**
     * @return the classname
     */
    public String getClassname() {
        return classname;
    }

    /**
     * @param classname the classname to set
     */
    public void setClassname(String classname) {
        this.classname = classname;
    }
    
        @Override
    public int hashCode() {
        int hash = 0;
        hash += (path != null ? path.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final ActionUrlBean other = (ActionUrlBean) obj;
        if ((this.path == null) ? (other.path != null) : !this.path.equals(other.path)) {
            return false;
        }
        if ((this.classname == null) ? (other.classname != null) : !this.classname.equals(other.classname)) {
            return false;
        }
        return true;
    }
    
}
